package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 科室的衣架数量
 *
 * @author huangtao
 */
@TableName(value = "glc_city_departments_hanger")
public class DepartmentsHanger implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id; //主键

    @TableField(value = "batch_id")
    private Long batchId; //批次号

    @TableField(value = "name")
    private String name; //医院名称

    @TableField(value = "ward")
    private Integer ward; //病房

    @TableField(value = "outpatient")
    private Integer outpatient; //门诊

    @TableField(value = "operate")
    private Integer operate; //手术室

    @TableField(value = "positive")
    private String positive; //正反向

    @TableField(value = "operator_id")
    private Long operatorId;//操作人

    @TableField(value = "create_time")
    private Date createTime; //创建日期

    @TableField(exist = false)
    private String batchName; //批次名称

    public void setWard(Integer ward) {
        this.ward = ward;
    }

    public void setOutpatient(Integer outpatient) {
        this.outpatient = outpatient;
    }

    public void setOperate(Integer operate) {
        this.operate = operate;
    }

    public Integer getWard() {
        return ward;
    }

    public Integer getOutpatient() {
        return outpatient;
    }

    public Integer getOperate() {
        return operate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public void setPositive(String positive) {
        this.positive = positive;
    }

    public String getPositive() {
        return positive;
    }

    public String getBatchName() {
        return batchName;
    }

    public void setBatchName(String batchName) {
        this.batchName = batchName;
    }
}
